#ifndef resource_scanner_h
#define resource_scanner_h

#include <map>
#include <string>
using namespace std;


//#define resource_scanner_script "resource_scanner.lua"

#define resource_scanner_script "resource_scanner.luax"

class ResourceScanner {
  public:
    /**
      * Scans for all the available resources.
      * Note that Lua must have been initialized properly.
      * 
      * @param resources Loaded resources
      * @param rootpath Root path where to find resources
      */
    static void scan (map<string,string>& resources, const string& rootpath);
};

#endif

